﻿@using PSU.Utility
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewData["Title"] - 一世计科</title>
    <environment include="Development">
        <link href="~/lib/bootstrap/dist/css/bootstrap.css" rel="stylesheet" />
        <link href="~/css/template/dataTables.bootstrap.css" rel="stylesheet" />
        <link href="~/lib/font-awesome/css/font-awesome.css" rel="stylesheet" />
        <link href="~/lib/Ionicons/css/ionicons.css" rel="stylesheet" />
        <link href="~/css/template/AdminLTE.css" rel="stylesheet" />
        <link href="~/css/template/skins/skin-green.css" rel="stylesheet" />
        <link href="~/css/template/bootstrap-datepicker.css" rel="stylesheet" />
        <link href="~/css/template/pace.css" rel="stylesheet" />
        <link href="~/css/template/green.css" rel="stylesheet" />
        <link href="~/css/view/layout.css" rel="stylesheet" />
    </environment>
    <environment exclude="Development">
        <link href="https://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"
              asp-fallback-href="~/lib/bootstrap/dist/css/bootstrap.min.css"
              asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute">
        <link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"
              asp-fallback-href="~/lib/font-awesome/css/font-awesome.min.css"
              asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute">
        <link href="http://cdn.bootcss.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet"
              asp-fallback-href="~/lib/Ionicons/css/ionicons.min.css"
              asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute" />
        <link href="~/css/view/layout.min.css" rel="stylesheet" asp-append-version="true" />
    </environment>

    @RenderSection("styles", false)

</head>
<body class="sidebar-mini skin-green fixed" style="height: auto; min-height: 100%;">
    <div class="wrapper" style="height: auto; min-height: 100%;">
        <!-- 头部 -->
        <header class="main-header">
            <a asp-area="Instructor" asp-controller="Home" asp-action="Index" class="logo">
                <span class="logo-mini">
                    <b>一世</b>
                </span>
                <span class="logo-lg">
                    <i class="fa fa-leaf"></i>
                    <b style="font-family:KaiTi">
                        一世计科
                        <sub style="font-family:Consolas">Yishi</sub>
                    </b>
                </span>
            </a>
            <nav class="navbar navbar-static-top">
                <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
                    <span class="sr-only">切换菜单</span>
                </a>
                <div class="navbar-custom-menu">
                    <form asp-area="" asp-controller="Secret" asp-action="Logout" method="post">
                        <ul class="nav navbar-nav">
                            <li class="user user-menu">
                                <a asp-area="Instructor" asp-controller="User" asp-action="Profile">
                                    <img src="~/images/template/user2-160x160.jpg" class="user-image" alt="User Image">
                                    <span class="hidden-xs">@CurrentUser.UserName</span>
                                </a>
                            </li>
                            <li>
                                <button type="submit" class="btn btn-link navbar-btn text-white btn-logout ">
                                    <i class="fa fa-sign-out"></i>
                                    <span>退出</span>
                                </button>
                            </li>
                        </ul>
                    </form>
                </div>
            </nav>
        </header>

        <!-- 左侧菜单栏 -->
        <aside class="main-sidebar">
            <section class="sidebar" style="height:auto;">
                <ul class="sidebar-menu" data-widget="tree">
                    <li class="header">菜单 Menu</li>
                    <li class="@(ViewData["NavTitle"].ToString() == "数据全局概览"?"active":"")">
                        <a asp-area="Instructor" asp-controller="Home" asp-action="Index">
                            <i class="fa fa-dashboard"></i> <span> 数据全局概览 </span>
                        </a>
                    </li>
                    <li class="@(ViewData["NavTitle"].ToString() == "我的班级管理"?"active":"")">
                        <a asp-area="Instructor" asp-controller="User" asp-action="Classes">
                            <i class="fa fa-archive"></i> <span> 我的班级管理 </span>
                        </a>
                    </li>
                    <li class="@(ViewData["NavTitle"].ToString() == "新生疑问管理"?"active":"")">
                        <a asp-area="Instructor" asp-controller="Question" asp-action="Information">
                            <i class="fa fa-question-circle"></i> <span> 新生疑问管理 </span>
                        </a>
                    </li>
                    <li class="@(ViewData["NavTitle"].ToString() == "新生报名情况"?"active":"")">
                        <a asp-area="Instructor" asp-controller="Newborn" asp-action="Register">
                            <i class="fa fa-check-circle"></i> <span> 新生报名情况 </span>
                        </a>
                    </li>
                    <li class="@(ViewData["NavTitle"].ToString() == "新生宿舍选择"?"active":"")">
                        <a asp-area="Instructor" asp-controller="Newborn" asp-action="Dormitory">
                            <i class="fa fa-home"></i> <span> 新生宿舍选择 </span>
                        </a>
                    </li>
                    <li class="@(ViewData["NavTitle"].ToString() == "新生数据管理"?"active":"")">
                        <a asp-area="Instructor" asp-controller="Newborn" asp-action="Information">
                            <i class="fa fa-info-circle"></i> <span> 新生数据管理 </span>
                        </a>
                    </li>
                    <li class="@(ViewData["NavTitle"].ToString() == "个人账户管理"?"active":"")">
                        <a asp-area="Instructor" asp-controller="User" asp-action="Profile">
                            <i class="fa fa-user-circle-o"></i> <span> 个人账户管理 </span>
                        </a>
                    </li>
                </ul>
            </section>
        </aside>

        <!-- 页面主体内容 -->
        <div class="content-wrapper">
            @RenderBody()
        </div>

        <!-- 尾部版权 -->
        <footer class="main-footer">
            <div class="container">
                <div class="pull-right hidden-xs">
                    Powered By <span class="text-blue">Run2948</span>
                    <a href="https://github.com/Run2948" target="_blank">
                        <i class="fa fa-github text-black"></i>
                    </a>
                    <a href="https://gitee.com/zhuJR" target="_blank">
                        <i class="fa fa-star-half-o text-black"></i>
                    </a>
                    <a href="https://weibo.com/u/3568138617" target="_blank">
                        <i class="fa fa-weibo text-danger"></i>
                    </a>
                </div>
                <p>
                    Copyright  &copy; 2017 - @DateTime.Now.Year <a href="javascript:void(0)"> 一世计科 </a> 版权所有
                </p>
            </div>
        </footer>
    </div>

    <environment include="Development">
        <script src="~/lib/jquery/dist/jquery.js"></script>
        <script src="~/lib/bootstrap/dist/js/bootstrap.js"></script>
        <script src="~/javascript/template/jquery.dataTables.js"></script>
        <script src="~/javascript/template/dataTables.bootstrap.js"></script>
        <script src="~/javascript/template/bootstrap-datepicker.js"></script>
        <script src="~/javascript/template/bootstrap-datepicker.zh-CN.min.js"></script>
        <script src="~/javascript/template/jquery.slimscroll.js"></script>
        <script src="~/javascript/template/adminlte.js"></script>
        <script src="~/javascript/template/pace.js"></script>
        <script src="~/javascript/template/bootbox.min.js"></script>
        <script src="~/javascript/template/icheck.js"></script>
        <script src="~/javascript/view/layout.js"></script>
    </environment>
    <environment exclude="Development">
        <script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"
                asp-fallback-src="~/lib/jquery/dist/jquery.min.js">
        </script>
        <script src="https://cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js"
                asp-fallback-src="~/lib/bootstrap/dist/js/bootstrap.min.js">
        </script>
        <script src="https://cdn.bootcss.com/iCheck/1.0.1/icheck.min.js"
                asp-fallback-src="~/javascript/template/icheck.min.js">
        </script>
        <script src="~/javascript/view/layout.min.js" asp-append-version="true"></script>
    </environment>

    @RenderSection("scripts", false)

</body>
</html>

